<template>
  <div class="dashboard-container">
    <div class="dashboard-text">name: {{ name }}</div>
    <button @click="test">请求接口带token</button>
  </div>
</template>

<script>
import('@/vendor/Export2Excel').then(excel => {})

// excel表示导入的模块对象

</script>

<style lang="scss" scoped>
.dashboard {
  &-container {
    margin: 30px;
  }
  &-text {
    font-size: 30px;
    line-height: 46px;
  }
}
</style>
